#!/bin/bash

# debug
# loop=3
# each_time=60

# 14hrs = 10min * 84 = 840mins
loop=84
each_time=600
cc_num=10
api=usk_skill_krc_api.py

LOG=stab.log

start=$(date)
echo -e "===== ${start} =====\n" > $LOG

for i in `seq 1 $loop`;do
    tim=$(date)
    echo -e "===== $i / $loop <> ${tim} ====\n" >> $LOG
    bash ccreq.sh $cc_num $api $each_time >>$LOG
    sleep 1
done
